<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/GroupChallenge.Web" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/GroupChallenge.Web" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="FriendlyResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="FriendlyText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResultId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FriendlyResult" nillable="true" type="tns:FriendlyResult" />
  <xs:complexType name="Game">
    <xs:sequence>
      <xs:element minOccurs="0" name="CurrentQuestionId" type="xs:int" />
      <xs:element minOccurs="0" name="EndTime" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="HighScore" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="HighScorePlayerNickName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastChangeTime" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="StartTime" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Game" nillable="true" type="tns:Game" />
  <xs:complexType name="Question">
    <xs:sequence>
      <xs:element minOccurs="0" name="Answer1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Answer2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Answer3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Answer4" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CategoryName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CorrectAnswerId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="QuestionId" type="xs:int" />
      <xs:element minOccurs="0" name="QuestionText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuestionTypeId" type="tns:QuestionType" />
      <xs:element minOccurs="0" name="SubmittedByPlayerNickName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SubmittedTimeUTC" type="xs:dateTime" />
      <xs:element minOccurs="0" name="WonByPlayerId" type="xs:int" />
      <xs:element minOccurs="0" name="WonByPlayerNickName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Question" nillable="true" type="tns:Question" />
  <xs:simpleType name="QuestionType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="MultipleChoice" />
      <xs:enumeration value="TrueFalse" />
      <xs:enumeration value="Verbal" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="QuestionType" nillable="true" type="tns:QuestionType" />
</xs:schema>